
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html;charset=utf-8">
  <title> 跨域测试 </title>
  <script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
 </head>
 
 <body>
    <div id="show"><input id="test" type="button" name="click" title="click me"/></div>
    <script type="text/javascript">
    $('#test').click(function() {
    	$.post("http://39.105.133.160:8081/index.php?s=/home/api/register",{})
      .done(function(data){
        console.log(data);
      });
    })
    

    </script>
 </body>
</html>
